﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
    public class ShopWithDrawInfoConfig : EntityTypeConfiguration<ShopWithDrawInfo>
    {
        public ShopWithDrawInfoConfig()
        {
            ToTable("Himall_ShopWithDraw");
            Property(item => item.CashNo).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.Account).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.AccountName).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.SellerName).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.ShopRemark).HasColumnType("varchar").HasMaxLength(1000);
            Property(item => item.PlatRemark).HasColumnType("varchar").HasMaxLength(1000);
            Property(item => item.ShopName).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.SerialNo).HasColumnType("varchar").HasMaxLength(200);

        }
    }
}